package com.ruoyi.common.utils.kiam;


public class OauthConfig {
    private static OauthConfig oauthConfig = new OauthConfig();
    private String url = "http://192.168.42.170:8080";
    private String connector = "/";
    private String method = "oauth";
    private String token = "token";
    //http://1.85.55.225/sso/oauth/token
    private String getusrinfo = "get_usr_info";

    private OauthConfig() {
    }

    public static OauthConfig getOauthConfig() {
        return oauthConfig;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUrl() {
        String str = this.url + this.connector;
        return str;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getMethod() {
        String str = this.getUrl() + this.method + this.connector;
        return str;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getToken() {
        return this.getMethod() + this.token;
    }

    public void setGetusrinfo(String getusrinfo) {
        this.getusrinfo = getusrinfo;
    }

    public String getGetusrinfo() {
        return this.getMethod() + this.getusrinfo;
    }
}
